﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Ads.Master" AutoEventWireup="true"
    CodeBehind="Register.aspx.cs" Inherits="JobSeek.Poster.Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">

        $(document).ready(function () {
            $('#ddlCountries').change(function () {
                var value = $(this).val();
                if (value == "Australia") {
                    $('#ddlState').css({
                        display: 'block'
                    });
                } else {
                    $('#ddlState').css({
                        display: 'none'
                    });
                }

            });
        });

        function CheckUser(element) {
            PageMethods.CheckUsername(element.value, OnSuccess, OnFail);
        }
        function OnSuccess(result) {

            if (result) {
                $('#tbxUsername').parent("td").next("td").empty();
                $('<em />').addClass('error success').html('Username is available').appendTo($('#tbxUsername').parent("td").next("td"));
            } else {
                $('#tbxUsername').parent("td").next("td").empty();
                $('<em />').addClass('error').html('Username is taken').appendTo($('#tbxUsername').parent("td").next("td"));

            }
        }
        function OnFail(error) {
        }


    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="page">
        <asp:ValidationSummary ID="SignUpSummary" runat="server" CssClass="error-message"
            DisplayMode="BulletList" Width="100%" />
        </asp:UpdatePanel>
        <div class="content">
            <table>
                <tr>
                    <td class="column1">
                        Username:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td class="column2">
                        <asp:TextBox ID="tbxUsername" runat="server" ClientIDMode="Static" Width="400px"></asp:TextBox>
                    </td>
                    <td class="column3">
                        <asp:RequiredFieldValidator ID="RtbxUsername" ControlToValidate="tbxUsername" runat="server"
                            ErrorMessage="Username is required." Display="None" ValidationGroup="SignUp"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Password:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxPassword" runat="server" TextMode="Password" ClientIDMode="Static"
                            Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ControlToValidate="tbxPassword" ID="RtbxPassword" runat="server"
                            ErrorMessage="Password is required." Text="*" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Confirm password:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxConfirmPassword" runat="server" TextMode="Password" name="password"
                            Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ControlToValidate="tbxConfirmPassword" ID="RtbxConfirmPassword"
                            runat="server" ErrorMessage="Confirm password is required." Text="*" Display="None"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ControlToValidate="tbxConfirmPassword" ID="CtbxConfirmPassword"
                            runat="server" ErrorMessage="Password must be the same." Text="*" ControlToCompare="tbxPassword"
                            Display="None"></asp:CompareValidator>
                    </td>
                </tr>
            </table>
        </div>
        <div class="content">
            <table>
                <tr>
                    <td class="column1">
                        First name:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td class="column2">
                        <asp:TextBox ID="tbxContactFirstName" runat="server" Width="400px"></asp:TextBox>
                    </td>
                    <td class="column3">
                        <asp:RequiredFieldValidator ControlToValidate="tbxContactFirstName" ID="RtbxFirstName"
                            runat="server" ErrorMessage="First name is required." Text="*" Display="None"></asp:RequiredFieldValidator>
                        <asp:CustomValidator ID="DuplicateUsernameValidator" runat="server" Display="None"
                            ErrorMessage="Username is not available." OnServerValidate="DuplicateUsernameValidator_ServerValidate"></asp:CustomValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Last name:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxContactLastName" runat="server" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ControlToValidate="tbxContactLastName" ID="RtbxLastName"
                            runat="server" ErrorMessage="Last name is required." Text="*" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Company Email:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxCoyEmail" runat="server" TextMode="Email" name="email" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ControlToValidate="tbxCoyEmail" ID="RtbxCoyEmail" runat="server"
                            ErrorMessage="Company's email is required. It is needed for us to contact you."
                            Text="*" Display="None"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ControlToValidate="tbxCoyEmail" ID="RegTbxCoyEmail"
                            runat="server" ErrorMessage="Email is not in the correct format. It must in this format > 'name@domain.com'"
                            Display="None" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Applicant Email:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxAppEmail" runat="server" TextMode="Email" name="email" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RtbxAppEmail" runat="server" ErrorMessage="Applications email is required. All applications will be sent to this email."
                            Text="*" ControlToValidate="tbxAppEmail" Display="None"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegTbxAppEmail" runat="server" ErrorMessage="Email is not in the correct format. It must in this format > 'name@domain.com'"
                            Text="*" ControlToValidate="tbxAppEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                            Display="None"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Primary contact:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxPrimaryContact" runat="server" Width="400px" class="{required:true, messages:{required: 'We need this to contact you.'}}"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator Text="*" ID="RtbxPrimaryContact" runat="server" ErrorMessage="Primary contact is required."
                            ControlToValidate="tbxPrimaryContact" Display="None"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegTbxPrimaryContact" runat="server" ErrorMessage="Phone number is not of the correct format"
                            Text="*" ControlToValidate="tbxPrimaryContact" ValidationExpression="\d{8,15}"
                            Display="None"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Secondary contact:
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:TextBox ID="tbxSecondaryContact" runat="server" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RegularExpressionValidator ID="RegTbxSecContact" runat="server" ControlToValidate="tbxSecondaryContact"
                            ErrorMessage="Phone number is not of the correct format." Text="*" ValidationExpression="\d{6,20}"
                            Display="None"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Fax:
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:TextBox ID="tbxFax" runat="server" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RegularExpressionValidator Text="*" ValidationExpression="\d{6,20}" ID="RegTbxFax"
                            runat="server" ErrorMessage="Fax is not of the correct format." ControlToValidate="tbxFax"
                            Display="None"></asp:RegularExpressionValidator>
                    </td>
                </tr>
            </table>
        </div>
        <div class="content">
            <table>
                <tr>
                    <td class="column1">
                        Company title:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td class="column2">
                        <asp:TextBox ID="tbxCoyName" runat="server" Width="400px" class="{required:true, messages:{required: 'Please enter the name of your company'}}"></asp:TextBox>
                    </td>
                    <td class="column3">
                        <asp:RequiredFieldValidator ID="RtbxCoyName" runat="server" ErrorMessage="Company name is required."
                            ControlToValidate="tbxCoyName" Text="*" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Postal Address 1:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxPostalAdd1" runat="server" Width="400px" class="{required:true, messages:{required: 'Please enter the address of your company'}}"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RtbxPoastalAdd1" runat="server" ErrorMessage="Address is required."
                            Text="*" ControlToValidate="tbxPostalAdd1" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Postal Address 2:
                    </td>
                    <td class="column-star">
                    </td>
                    <td>
                        <asp:TextBox ID="tbxPostalAdd2" runat="server" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        Country:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:DropDownList runat="server" ID="ddlCountries" ClientIDMode="Static" class="{required:true, messages:{required: 'Please select a country'}}">
                            <asp:ListItem runat="server" Value="Australia" Selected>Australia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Albania">Albania</asp:ListItem>
                            <asp:ListItem runat="server" Value="Algeria">Algeria</asp:ListItem>
                            <asp:ListItem runat="server" Value="American Samoa">American Samoa</asp:ListItem>
                            <asp:ListItem runat="server" Value="Andorra">Andorra</asp:ListItem>
                            <asp:ListItem runat="server" Value="Angola">Angola</asp:ListItem>
                            <asp:ListItem runat="server" Value="Anguilla">Anguilla</asp:ListItem>
                            <asp:ListItem runat="server" Value="Antigua">Antigua</asp:ListItem>
                            <asp:ListItem runat="server" Value="Argentina">Argentina</asp:ListItem>
                            <asp:ListItem runat="server" Value="Armenia">Armenia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Aruba">Aruba</asp:ListItem>
                            <asp:ListItem runat="server" Value="Australia">Australia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Austria">Austria</asp:ListItem>
                            <asp:ListItem runat="server" Value="Azerbaijan">Azerbaijan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bahamas">Bahamas</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bahrain">Bahrain</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bangladesh">Bangladesh</asp:ListItem>
                            <asp:ListItem runat="server" Value="Barbados">Barbados</asp:ListItem>
                            <asp:ListItem runat="server" Value="Barbuda">Barbuda</asp:ListItem>
                            <asp:ListItem runat="server" Value="Belgium">Belgium</asp:ListItem>
                            <asp:ListItem runat="server" Value="Belize">Belize</asp:ListItem>
                            <asp:ListItem runat="server" Value="Benin">Benin</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bermuda">Bermuda</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bhutan">Bhutan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bolivia">Bolivia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bonaire">Bonaire</asp:ListItem>
                            <asp:ListItem runat="server" Value="Botswana">Botswana</asp:ListItem>
                            <asp:ListItem runat="server" Value="Brazil">Brazil</asp:ListItem>
                            <asp:ListItem runat="server" Value="Virgin islands">British Virgin isl.</asp:ListItem>
                            <asp:ListItem runat="server" Value="Brunei">Brunei</asp:ListItem>
                            <asp:ListItem runat="server" Value="Bulgaria">Bulgaria</asp:ListItem>
                            <asp:ListItem runat="server" Value="Burundi">Burundi</asp:ListItem>
                            <asp:ListItem runat="server" Value="Cambodia">Cambodia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Cameroon">Cameroon</asp:ListItem>
                            <asp:ListItem runat="server" Value="Canada">Canada</asp:ListItem>
                            <asp:ListItem runat="server" Value="Cape Verde">Cape Verde</asp:ListItem>
                            <asp:ListItem runat="server" Value="Cayman isl">Cayman Islands</asp:ListItem>
                            <asp:ListItem runat="server" Value="Central African Rep">Central African Rep.</asp:ListItem>
                            <asp:ListItem runat="server" Value="Chad">Chad</asp:ListItem>
                            <asp:ListItem runat="server" Value="Channel isl">Channel Islands</asp:ListItem>
                            <asp:ListItem runat="server" Value="Chile">Chile</asp:ListItem>
                            <asp:ListItem runat="server" Value="China">China</asp:ListItem>
                            <asp:ListItem runat="server" Value="Colombia">Colombia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Congo">Congo</asp:ListItem>
                            <asp:ListItem runat="server" Value="cook isl">Cook Islands</asp:ListItem>
                            <asp:ListItem runat="server" Value="Costa Rica">Costa Rica</asp:ListItem>
                            <asp:ListItem runat="server" Value="Croatia">Croatia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Curacao">Curacao</asp:ListItem>
                            <asp:ListItem runat="server" Value="Cyprus">Cyprus</asp:ListItem>
                            <asp:ListItem runat="server" Value=" Czech Republic">Czech Republic</asp:ListItem>
                            <asp:ListItem runat="server" Value="Denmark">Denmark</asp:ListItem>
                            <asp:ListItem runat="server" Value="Djibouti">Djibouti</asp:ListItem>
                            <asp:ListItem runat="server" Value="Dominica">Dominica</asp:ListItem>
                            <asp:ListItem runat="server" Value="Dominican Republic">Dominican Republic</asp:ListItem>
                            <asp:ListItem runat="server" Value="Ecuador">Ecuador</asp:ListItem>
                            <asp:ListItem runat="server" Value="Egypt">Egypt</asp:ListItem>
                            <asp:ListItem runat="server" Value="El Salvador">El Salvador</asp:ListItem>
                            <asp:ListItem runat="server" Value="Equatorial Guinea">Equatorial Guinea</asp:ListItem>
                            <asp:ListItem runat="server" Value="Eritrea">Eritrea</asp:ListItem>
                            <asp:ListItem runat="server" Value=" Estonia">Estonia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Ethiopia">Ethiopia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Faeroe isl">Faeroe Islands</asp:ListItem>
                            <asp:ListItem runat="server" Value="Fiji">Fiji</asp:ListItem>
                            <asp:ListItem runat="server" Value="Finland">Finland</asp:ListItem>
                            <asp:ListItem runat="server" Value="France">France</asp:ListItem>
                            <asp:ListItem runat="server" Value="French Guiana">French Guiana</asp:ListItem>
                            <asp:ListItem runat="server" Value="French Polynesia">French Polynesia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Gabon">Gabon</asp:ListItem>
                            <asp:ListItem runat="server" Value="Gambia">Gambia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Georgia">Georgia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Gemany">Germany</asp:ListItem>
                            <asp:ListItem runat="server" Value="Ghana">Ghana</asp:ListItem>
                            <asp:ListItem runat="server" Value="Gibraltar">Gibraltar</asp:ListItem>
                            <asp:ListItem runat="server" Value="GB">Great Britain</asp:ListItem>
                            <asp:ListItem runat="server" Value="Greece">Greece</asp:ListItem>
                            <asp:ListItem runat="server" Value="Greenland">Greenland</asp:ListItem>
                            <asp:ListItem runat="server" Value="Grenada">Grenada</asp:ListItem>
                            <asp:ListItem runat="server" Value="Guadeloupe">Guadeloupe</asp:ListItem>
                            <asp:ListItem runat="server" Value="Guam">Guam</asp:ListItem>
                            <asp:ListItem runat="server" Value="Guatemala">Guatemala</asp:ListItem>
                            <asp:ListItem runat="server" Value="Guinea">Guinea</asp:ListItem>
                            <asp:ListItem runat="server" Value="Guinea Bissau">Guinea Bissau</asp:ListItem>
                            <asp:ListItem runat="server" Value="Guyana">Guyana</asp:ListItem>
                            <asp:ListItem runat="server" Value="Haiti">Haiti</asp:ListItem>
                            <asp:ListItem runat="server" Value="Honduras">Honduras</asp:ListItem>
                            <asp:ListItem runat="server" Value="Hong Kong">Hong Kong</asp:ListItem>
                            <asp:ListItem runat="server" Value="Hungary">Hungary</asp:ListItem>
                            <asp:ListItem runat="server" Value="Iceland">Iceland</asp:ListItem>
                            <asp:ListItem runat="server" Value="India">India</asp:ListItem>
                            <asp:ListItem runat="server" Value="Indonesia">Indonesia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Irak">Irak</asp:ListItem>
                            <asp:ListItem runat="server" Value="Iran">Iran</asp:ListItem>
                            <asp:ListItem runat="server" Value="Ireland">Ireland</asp:ListItem>
                            <asp:ListItem runat="server" Value="Northern Ireland">Ireland, Northern</asp:ListItem>
                            <asp:ListItem runat="server" Value="Israel">Israel</asp:ListItem>
                            <asp:ListItem runat="server" Value="Italy">Italy</asp:ListItem>
                            <asp:ListItem runat="server" Value="Ivory Coast">Ivory Coast</asp:ListItem>
                            <asp:ListItem runat="server" Value="Jamaica">Jamaica</asp:ListItem>
                            <asp:ListItem runat="server" Value="Japan">Japan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Jordan">Jordan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Kazakhstan">Kazakhstan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Kenya">Kenya</asp:ListItem>
                            <asp:ListItem runat="server" Value="Kuwait">Kuwait</asp:ListItem>
                            <asp:ListItem runat="server" Value="Kyrgyzstan">Kyrgyzstan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Latvia">Latvia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Lebanon">Lebanon</asp:ListItem>
                            <asp:ListItem runat="server" Value="Liberia">Liberia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Liechtenstein">Liechtenstein</asp:ListItem>
                            <asp:ListItem runat="server" Value="Lithuania">Lithuania</asp:ListItem>
                            <asp:ListItem runat="server" Value="Luxembourg">Luxembourg</asp:ListItem>
                            <asp:ListItem runat="server" Value="Macau">Macau</asp:ListItem>
                            <asp:ListItem runat="server" Value="Macedonia">Macedonia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Madagascar">Madagascar</asp:ListItem>
                            <asp:ListItem runat="server" Value="Malawi">Malawi</asp:ListItem>
                            <asp:ListItem runat="server" Value="Malaysia">Malaysia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Maldives">Maldives</asp:ListItem>
                            <asp:ListItem runat="server" Value="Mali">Mali</asp:ListItem>
                            <asp:ListItem runat="server" Value="Malta">Malta</asp:ListItem>
                            <asp:ListItem runat="server" Value="Marshall isl">Marshall Islands</asp:ListItem>
                            <asp:ListItem runat="server" Value="Martinique">Martinique</asp:ListItem>
                            <asp:ListItem runat="server" Value="Mauritania">Mauritania</asp:ListItem>
                            <asp:ListItem runat="server" Value="Mauritius">Mauritius</asp:ListItem>
                            <asp:ListItem runat="server" Value="Mexico">Mexico</asp:ListItem>
                            <asp:ListItem runat="server" Value="Micronesia">Micronesia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Moldova">Moldova</asp:ListItem>
                            <asp:ListItem runat="server" Value="Monaco">Monaco</asp:ListItem>
                            <asp:ListItem runat="server" Value="Mongolia">Mongolia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Montserrat">Montserrat</asp:ListItem>
                            <asp:ListItem runat="server" Value="Morocco">Morocco</asp:ListItem>
                            <asp:ListItem runat="server" Value="Mozambique">Mozambique</asp:ListItem>
                            <asp:ListItem runat="server" Value="Myanmar">Myanmar/Burma</asp:ListItem>
                            <asp:ListItem runat="server" Value="Namibia">Namibia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Nepal">Nepal</asp:ListItem>
                            <asp:ListItem runat="server" Value="Netherlands">Netherlands</asp:ListItem>
                            <asp:ListItem runat="server" Value="Netherlands Antilles">Netherlands Antilles</asp:ListItem>
                            <asp:ListItem runat="server" Value="New Caledonia">New Caledonia</asp:ListItem>
                            <asp:ListItem runat="server" Value="New Zealand">New Zealand</asp:ListItem>
                            <asp:ListItem runat="server" Value="Nicaragua">Nicaragua</asp:ListItem>
                            <asp:ListItem runat="server" Value="Niger">Niger</asp:ListItem>
                            <asp:ListItem runat="server" Value="Nigeria">Nigeria</asp:ListItem>
                            <asp:ListItem runat="server" Value="Norway">Norway</asp:ListItem>
                            <asp:ListItem runat="server" Value="Oman">Oman</asp:ListItem>
                            <asp:ListItem runat="server" Value="Palau">Palau</asp:ListItem>
                            <asp:ListItem runat="server" Value="Panama">Panama</asp:ListItem>
                            <asp:ListItem runat="server" Value="Papua New Guinea">Papua New Guinea</asp:ListItem>
                            <asp:ListItem runat="server" Value="Paraguay">Paraguay</asp:ListItem>
                            <asp:ListItem runat="server" Value="Peru">Peru</asp:ListItem>
                            <asp:ListItem runat="server" Value="Philippines">Philippines</asp:ListItem>
                            <asp:ListItem runat="server" Value="Poland">Poland</asp:ListItem>
                            <asp:ListItem runat="server" Value="Portugal">Portugal</asp:ListItem>
                            <asp:ListItem runat="server" Value="Puerto Rico">Puerto Rico</asp:ListItem>
                            <asp:ListItem runat="server" Value="Qatar">Qatar</asp:ListItem>
                            <asp:ListItem runat="server" Value="Reunion">Reunion</asp:ListItem>
                            <asp:ListItem runat="server" Value="Rwanda">Rwanda</asp:ListItem>
                            <asp:ListItem runat="server" Value="Saba">Saba</asp:ListItem>
                            <asp:ListItem runat="server" Value="Saipan">Saipan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Saudi Arabia">Saudi Arabia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Scotland">Scotland</asp:ListItem>
                            <asp:ListItem runat="server" Value="Senegal">Senegal</asp:ListItem>
                            <asp:ListItem runat="server" Value="Seychelles">Seychelles</asp:ListItem>
                            <asp:ListItem runat="server" Value="Sierra Leone">Sierra Leone</asp:ListItem>
                            <asp:ListItem runat="server" Value="Singapore">Singapore</asp:ListItem>
                            <asp:ListItem runat="server" Value="Slovac Republic">Slovak Republic</asp:ListItem>
                            <asp:ListItem runat="server" Value="Slovenia">Slovenia</asp:ListItem>
                            <asp:ListItem runat="server" Value="South Africa">South Africa</asp:ListItem>
                            <asp:ListItem runat="server" Value="South Korea">South Korea</asp:ListItem>
                            <asp:ListItem runat="server" Value="Spain">Spain</asp:ListItem>
                            <asp:ListItem runat="server" Value="Sri Lanka">Sri Lanka</asp:ListItem>
                            <asp:ListItem runat="server" Value="Sudan">Sudan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Suriname">Suriname</asp:ListItem>
                            <asp:ListItem runat="server" Value="Swaziland">Swaziland</asp:ListItem>
                            <asp:ListItem runat="server" Value="Sweden">Sweden</asp:ListItem>
                            <asp:ListItem runat="server" Value="Switzerland">Switzerland</asp:ListItem>
                            <asp:ListItem runat="server" Value="Syria">Syria</asp:ListItem>
                            <asp:ListItem runat="server" Value="Taiwan">Taiwan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Tanzania">Tanzania</asp:ListItem>
                            <asp:ListItem runat="server" Value="Thailand">Thailand</asp:ListItem>
                            <asp:ListItem runat="server" Value="Togo">Togo</asp:ListItem>
                            <asp:ListItem runat="server" Value="Trinidad-Tobago">Trinidad-Tobago</asp:ListItem>
                            <asp:ListItem runat="server" Value="Tunesia">Tunisia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Turkey">Turkey</asp:ListItem>
                            <asp:ListItem runat="server" Value="Turkmenistan">Turkmenistan</asp:ListItem>
                            <asp:ListItem runat="server" Value="United Arab Emirates">United Arab Emirates</asp:ListItem>
                            <asp:ListItem runat="server" Value="U.S. Virgin isl">U.S. Virgin Islands</asp:ListItem>
                            <asp:ListItem runat="server" Value="USA">U.S.A.</asp:ListItem>
                            <asp:ListItem runat="server" Value="Uganda">Uganda</asp:ListItem>
                            <asp:ListItem runat="server" Value="United Kingdom">United Kingdom</asp:ListItem>
                            <asp:ListItem runat="server" Value="Urugay">Uruguay</asp:ListItem>
                            <asp:ListItem runat="server" Value="Uzbekistan">Uzbekistan</asp:ListItem>
                            <asp:ListItem runat="server" Value="Vanuatu">Vanuatu</asp:ListItem>
                            <asp:ListItem runat="server" Value="Vatican City">Vatican City</asp:ListItem>
                            <asp:ListItem runat="server" Value="Venezuela">Venezuela</asp:ListItem>
                            <asp:ListItem runat="server" Value="Vietnam">Vietnam</asp:ListItem>
                            <asp:ListItem runat="server" Value="Wales">Wales</asp:ListItem>
                            <asp:ListItem runat="server" Value="Yemen">Yemen</asp:ListItem>
                            <asp:ListItem runat="server" Value="Zaire">Zaire</asp:ListItem>
                            <asp:ListItem runat="server" Value="Zambia">Zambia</asp:ListItem>
                            <asp:ListItem runat="server" Value="Zimbabwe">Zimbabwe</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RddlCountries" ControlToValidate="ddlCountries" Text="*"
                            runat="server" ErrorMessage="Please select a country from the list." Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        State:
                    </td>
                    <td class="column-star">
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlState" runat="server" ClientIDMode="Static">
                            <asp:ListItem Value="NSW">NSW</asp:ListItem>
                            <asp:ListItem Value="ACT">NT</asp:ListItem>
                            <asp:ListItem Value="QLD">QLD</asp:ListItem>
                            <asp:ListItem Value="SA">SA</asp:ListItem>
                            <asp:ListItem Value="TAS">TAS</asp:ListItem>
                            <asp:ListItem Value="VIC">VIC</asp:ListItem>
                            <asp:ListItem Value="WA">WA</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        City:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxCity" runat="server" Width="400px" class="{required:true, messages:{required: 'Please enter a city'}}"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RtbxCity" runat="server" ErrorMessage="City is required."
                            Text="*" ControlToValidate="tbxCity" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Suburb:
                    </td>
                    <td class="column-star">
                    </td>
                    <td>
                        <asp:TextBox ID="tbxSuburb" runat="server" Width="400px"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        Postal code:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:TextBox ID="tbxPostalCode" runat="server" Width="400px" class="{required:true, messages:{required: 'Please enter the postal code'}}"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        Number of employees:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlNumEmp" runat="server" class="{required:true, messages:{required: 'Please select your company size'}}">
                            <asp:ListItem Value="0" disabled="true" style="color: Black; font-weight: bold;"></asp:ListItem>
                            <asp:ListItem Value="1 - 50">1 - 5 </asp:ListItem>
                            <asp:ListItem Value="6 - 20">6 - 20 </asp:ListItem>
                            <asp:ListItem Value="21 - 50">21 - 50 </asp:ListItem>
                            <asp:ListItem Value="51 - 200">51 - 100 </asp:ListItem>
                            <asp:ListItem Value="201 - 500">201 - 500 </asp:ListItem>
                            <asp:ListItem Value="501 - 1000">501 - 1000 </asp:ListItem>
                            <asp:ListItem Value="1001+">1001+ </asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RddlNumEmp" runat="server" ErrorMessage="Please select your company size"
                            Text="*" ControlToValidate="ddlNumEmp" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Industry:
                    </td>
                    <td class="column-star">
                        *
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlIndustry" runat="server" DataSourceID="ClassificationEntitySource"
                            class="{required:true, messages:{required: 'Please select your industry'}}" DataTextField="name"
                            DataValueField="classification_id">
                        </asp:DropDownList>
                        <asp:EntityDataSource ID="ClassificationEntitySource" runat="server" ConnectionString="name=job_seekerEntities"
                            DefaultContainerName="job_seekerEntities" EnableFlattening="False" EntitySetName="Classifications">
                        </asp:EntityDataSource>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RddlIndustry" runat="server" ErrorMessage="Please specify the industry you belong to."
                            ControlToValidate="ddlIndustry" Text="*" Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
        </div>
        <div class="content">
            <table>
                <tr>
                    <td style="text-align: left;">
                        <asp:Button ID="btnBack" runat="server" Text="Back" OnClick="btnBack_Click" class="cancel button" />
                    </td>
                    <td style="text-align: center">
                        <asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClick="btnCancel_Click"
                            class="cancel button" />
                    </td>
                    <td style="text-align: right;">
                        <asp:Button ID="btnContinue" runat="server" Text="Continue" OnClick="btnContinue_Click"
                            CausesValidation="true" class="button" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
